package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@TableName(value = "mes_machine_info")
public class MesMachine {
    @TableId
    private String pid;
    private String machineNo;
    private String machineName;
    private String workshopId;
    private String workshopNo;
    private String workshopName;
    private String size;
    private String wasteRate;
    private String model;
    private BigDecimal capacity;
    private String type;
//    private String headUser;
    @TableField(exist = false)
   private String headUserName;
    @TableField(exist = false)
    private String headUserPhone;
    private String createUser;
    private Date createTime;
    private Date updateTime;
    private String status;
    private String remark;

    //机台贴数
    private Long stickNumber;
    //类别
    private String category;
    //名称 一轮/二轮/同步
    private String wheelName;
    //半代/整代，1半代/2整代
    private String era;
    // 是否分配内文生产单：0否1是
    private Integer isFpnw;

    @TableField(exist = false)
    private List<MesMachineUser> mesMachineUserList;

    //最少工作量
    @TableField(exist = false)
    private Double Total;
    //生产单类型(查询用)
    @TableField(exist = false)
    private String produceType;

    @TableField(exist = false)
    private Map<String, String> params;
}
